home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / Libraries / tcl7.4b3 / doc / close.n < prev    next >
Encoding:
Text File  |  1994-12-17  |  980 b   |  34 lines

  1. '\"
  2. '\" Copyright (c) 1993 The Regents of the University of California.
  3. '\" Copyright (c) 1994 Sun Microsystems, Inc.
  4. '\"
  5. '\" See the file "license.terms" for information on usage and redistribution
  6. '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  7. '\" 
  8. '\" @(#) close.n 1.2 94/12/17 16:17:43
  9. '\" 
  10. .so man.macros
  11. .HS close tcl
  12. .BS
  13. '\" Note:  do not modify the .SH NAME line immediately below!
  14. .SH NAME
  15. close \- Close an open file
  16. .SH SYNOPSIS
  17. \fBclose \fIfileId\fR
  18. .BE
  19.  
  20. .SH DESCRIPTION
  21. .PP
  22. Closes the file given by \fIfileId\fR.
  23. \fIFileId\fR must be the return value from a previous invocation
  24. of the \fBopen\fR command; after this command, it should not be
  25. used anymore.
  26. If \fIfileId\fR refers to a command pipeline instead of a file,
  27. then \fBclose\fR waits for the children to complete.
  28. The normal result of this command is an empty string, but errors
  29. are returned if there are problems in closing the file or waiting
  30. for children to complete.
  31.  
  32. .SH KEYWORDS
  33. close, file
  34.